@charset "utf-8";

$width:100%;
$div:inline-block;
@mixin box_right_search{
   &:hover{
       content: "";
       background: url(../img/search.png) no-repeat;
       background-position: 0 -98px;
       width: 24px;
       height: 24px;
   }
}
@mixin box_right_cart{
    &:hover{
       content: "";
       background: url(../img/search.png) no-repeat;
       background-position: 0 -228px;
       width: 24px;
       height: 24px;
   }
}
@mixin box_right_user{
    &:hover{
       content: "";
       background: url(../img/icon_user_hover.png) center center no-repeat;
       width: 24px;
       height: 24px;
   }
}
@mixin title_text_li{
    &:hover{
        i{
            bottom: 0;
            transition: bottom .2s .2s; 
        }
        a{
            color: black;
        }
    }
}
@mixin footer_link_li{
    &:hover{
        a{
            color: black;
        }
    }
}
*{
    margin: 0;
    padding: 0;
}
body{
    font-family:'Yinheiw3',"PingFang SC","Helvetica Neue",Helvetica,STHeitiSC-Light,"Microsoft YaHei",Arial,sans-serif ;
}
a{
    text-decoration: none;
    color: #858a8d;
}
.oneplus{
    width: $div;
    height: 100%;
}
.web{
    width: $width;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    position: relative;
    left: 0;
    top: 0;
    li{
        display: $div;
    }
    
}
.logo{
    display: $div;
    width: 44px;
    height: 44px;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 17px;
    margin-left: 23px;
//  z-index: 3;
    a{
        width: $width;
        height: 100%;
        display: block;
    }
}
.header_box{
    height: 80px;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    
}
.box_right{
    display: $div;
    height: 50px;
    padding-top: 30px;
    text-align: right;
    position: relative;
    vertical-align: middle;
//  z-index: 2;
    div{
        display: $div;
        a{
            padding:0 20px ;
            display: block;
        }
        }
        .i_search{
            span{
                @include box_right_search;
                width: 24px;
                height: 24px;
                background: url(../img/search.png) no-repeat;
                background-position: 0 -74px;
                display: $div;
            }
          }
         .i_cart{
            span{
                @include box_right_cart;
                width: 24px;
                height: 24px;
                background: url(../img/search.png) no-repeat;
                background-position: 0 -204px;
                display: $div;
            }
        }
        .i_user{
            span{
                @include box_right_user;
                 background: url(../img/icon_user.png) center center no-repeat;
                 width: 24px;
                 height: 24px;
                 display: $div;   
            }
        }
}

.title{
    display: $div;
    text-align: center;
//  margin: 0 auto;
// padding: 0 168px 0 70px;
   padding: 0 16px 0 100px;
    height: 80px;
    vertical-align: middle;
    margin: 0 100px 0 200px;
//  z-index: 1;
    .title_text{
        ul{
            list-style: none;
            text-align: center;
            
        }
        li{
            height: 80px;
            position: relative;
            @include title_text_li;
            i{
                height: 5px;
                background-color: red;
                display: block;
                bottom: -5px;
                transition: bottom 0.2s 0.2s;
                position: absolute;
                left: 0;
                width: $width;
            }
        }
        .text{
            font-size: 14px;
            text-align: center;
            color: #7e7e7e;
            overflow: hidden;
            padding: 0 30px;
            line-height: 80px;
            display: block;
            height: 100%;
            position: relative;
            
        }
    }
}









//尾部
footer{
//  font-size: 14px;
    background: #FFFFFF;
    font-family: Yinheiw3,"Microsoft YaHei",Arial;
    width: $width;

}
.footer-link{
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 1200px;
    padding: 70px 0 60px;
    position: relative;
    vertical-align: middle;
    ul{
        list-style: none;
    }
    h2{
        padding-bottom: 32px;
        font-size: 20px;
        color: #d7d7d7;
        font-weight: normal;
    }
    li{
        @include footer_link_li;
        line-height: 31px;
        font-size: 14px;
    }
    .footer-ul{
        display: $div;
        width: 240px;
        &:nth-child(2){
            vertical-align: top;
        }
    }
}
.footer-kf{
    display: $div;
    position: absolute;
    right: 0;
    vertical-align: top;
    a{
        border: 1px solid black;
        display: block;
        height: 50px;
        line-height: 50px;
        margin-top: 22px;
        text-align: center;
        font-size: 14px;
    }
    .time{
        text-align: center;
        margin-top: 18px;
        color: #808588;
        font-size: 14px;
    }
}
.footer-bottom{
    width: $width;
    background: #F2F2F2;
    padding-top: 20px;
    .bottom-text{
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        padding-bottom: 20px;
    }
    .flag{
        font-size: 12px;
        color: #9f9f9f;
        float: right;
        margin-top: 20px;
        a{
            margin-left: 10px;
            vertical-align: middle;
            display: $div;
        }
        img{
         width: 30px;
         height: 20px;   
        }
    }
    .bottom-right{
        .right-text{
            font-size: 14px;
            color: #b6b6b6;
            text-align: center;
        }
        .cnnic{
            img{
                width: 84px;
                height: 32px;
                margin-left: 20px;
                bottom: -9px;
                position: relative;
            }
        }
        .record{
            display: block;
            font-size: 14px;
            margin-top: 10px;
        }
    }
}
.clear{
    clear: both;
}
.clearfix{
    zoom: 1;
}
